package com.huawei.appgallery.forum.section.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.huawei.appgallery.forum.base.card.ForumNode;
import com.huawei.appgallery.forum.section.card.ForumSectionEnterCard;
import o.cab.e;
import o.cab.i;

public class ForumSectionEnterNode extends ForumNode {
    private ForumSectionEnterCard ˊ;

    public ForumSectionEnterNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutInflater from = LayoutInflater.from(this.ॱ);
        View inflate = from.inflate(i.ʻॱ, null);
        LinearLayout linearLayout = (LinearLayout) inflate.findViewById(e.ʼॱ);
        View inflate2 = from.inflate(i.ॱˋ, null);
        this.ˊ = new ForumSectionEnterCard(this.ॱ);
        this.ˊ.ˏ(inflate2);
        ˊ(this.ˊ);
        linearLayout.addView(inflate2);
        viewGroup.addView(inflate);
        return true;
    }

    public ForumSectionEnterCard ˎ() {
        return this.ˊ;
    }
}
